home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 15 / CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso / CUCD / Graphics / Ghostscript / man / gs501src_zlib.readme < prev   
Encoding:
Text File  |  1997-07-13  |  2.4 KB  |  62 lines

  1. Short:    Ghostscript5.01 Zlib sources
  2. Author:   GS(Aladdin)/Amiga(Olaf Barthel)/Port(me)
  3. Uploader: JoopvandeWege@mail.mococo.nl
  4. Type:     gfx/show
  5.  
  6. This is the original Zlib source archive in lha format instead
  7. of tar.gz. You'll need the following two archives to be able to recompile
  8. GS:
  9. gs501src_png.lha
  10.  
  11. Comments/Suggestions/Bugs to:
  12. JoopvandeWege@mail.mococo.nl
  13. Please use a Subject field with the name 'GS501' in it.
  14. Please direct all mail to me except when you're 100% sure it is a GS
  15. problem then you can use the Aladdin email address.
  16.  
  17. Joop van de Wege
  18.  
  19.  
  20. Recompiling GS:
  21. Steps needed to be done to recompile GS from scratch using GCC2.63/2.72:
  22. Get gs501src_gs.lha
  23. Get gs501src_amiga.lha
  24. Get gs501src_jpg6a.lha
  25. Get gs501src_zlib.lha
  26. Get gs501src_png.lha
  27.  
  28. Unpack gs501src to HD, a directory 'gs5.01' will be created.
  29. Unpack to the same HD (files will also be placed into 'gs5.01':
  30. - gs501amiga.lha, overwriting some files. This is OK
  31.   gs501amiga.lha contains:
  32.   - gdevamiga.c, the amiga device driver from Olaf Barthel
  33.   - gdevpipe.c, patched for use with Libnix
  34.   - gp_amiga.c, platform dependant stuff for the Amiga
  35.   - Configure.in/Makefile.in to rebuild Makefile and be able
  36.     to separate source and build directory.
  37.     (also 'makefile.libnix', for those that don't have configure)
  38. - gs501src_jpg6a which creates the 'jpeg-6' directory
  39. - gs501src_zlib which creates the 'zlib' directory
  40. - gs501src_png which creates the 'libpng' directory
  41. - edit gcc-head.mak.in, the lines DEVICES_DEVSx= .....
  42.   (add/remove devices to your desire), save!
  43. - cd to your build directory (cd work:build/gs)
  44. - sh work:source/gs5.01/configure --prefix=Ghostscript:
  45.   (configure tests your configuration, generates Makefile)
  46. - make (or use the supplied 'build_gs' script,overrides some settings)
  47. - make install
  48.  
  49. The last two archives are not needed when you don't intend to rebuild GS
  50. with PNG support.
  51.  
  52. If you haven't forgotten to set the stack to a reasonable amount (~50K),
  53. you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h
  54. (1-1.5h when using PowerCache) to compile with the current device driver
  55. set and the file 'gdevamiga.c' needs about 7-8Mb when -O2 is on. It needs
  56. less if you don't optimize :)
  57. Make itself takes another 2Mb so in case of problems just compile
  58. gdevamiga.c on its own and let make resume after that. GCC2.7.2.1 (?) (Aminet)
  59. works with VMM3.3 (on Aminet too).
  60.  
  61. Better yet get the latest gcc compiler from ftp.ninemoons.com/pub/geekgadgets!
  62.